from django.db import models
from django.contrib.auth.models import User

# Create your models here.
class Attendance(models.Model):

    name=models.TextField()
    startTime=models.DateTimeField()
    stopTime=models.DateTimeField()
    longitude=models.FloatField()
    latitude=models.FloatField()



class Vacate(models.Model):
    # ID = models.AutoField(primary_key=True)
    name = models.CharField(max_length=20)
    note = models.TextField()
    tel = models.CharField(max_length=11)
    vacateStartTime = models.DateTimeField()
    vacateStopTime = models.DateTimeField()

    result = models.NullBooleanField()


class Notice(models.Model):
    name=models.CharField(max_length=20,default="")
    time=models.DateTimeField()
    note=models.TextField(default="")


class user(models.Model):
    pass
